home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: ODF R1 RefCounting Exte
- Sent: 5/30/96 5:53 PM
- Received: 5/30/96 6:03 PM
- From: Mark Lanett, mlanett@meer.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >I'll try to save Greg the trouble. After re-reading the description of
- >ODRefCntObject, I think you're right. The extension creation function should
- >be setting the refCount to 1, not FW_CExtensionManager::AcquireExtension().
- >A note to that effect might be useful in the Engineering Note on Extensions.
-
- Extensions, and creating them, are already documented in the OD
- Programmer's Guide (page 467). There is also an ODExtensions recipe. These
- docs aren't as complete as they could be about extensions, but ODF has
- enough to cover without doing more OpenDoc documentation.
-
- Oh, if you look in the OpenDoc source code, ODRefCntObjectInitRefCntObject
- (RefCtObj.cpp) sets _fRefCount = 1. You can't create an extension with a 0
- refcount unless you are screwing something up. Forgetting to call
- InitExtension?
-
-
- Mark Lanett, ODF
-
-